


//change from before the election to after the election
regress willrun1to2 i.female##(i.voted i.dem c.w1clintonfeelther)  if attn==1

//effects based on clinton feeling 1 to 2

quietly margins, at(female=1 w1clintonfeelther=(0(10)100) voted==1)  level(90) saving(femalehilly2, replace)
quietly margins, at(female=1 w1clintonfeelther=(0(10)100) voted==0)  level(90) saving(femalehilln2, replace)
quietly margins, at(female=0 w1clintonfeelther=(0(10)100) voted==1)  level(90) saving(malehilly2, replace)
quietly margins, at(female=0 w1clintonfeelther=(0(10)100) voted==0)  level(90) saving(malehilln2, replace)


combomarginsplot femalehilly2 malehilly2, labels("Women" "Men")xtitle("Clinton feeling thermometer")ytitle("Change in willingness to run") plot1opts(lpattern(l)) plot2opts(lpattern(_)) yline(0) title("  ")yscale(range(-1.5 1.5)) ylabel(-1.5(0.5)1.5) noci
graph save voters2, replace

combomarginsplot femalehilln2 malehilln2, labels("Women" "Men")xtitle("Clinton feeling thermometer")ytitle("Change in willingness to run") plot1opts(lpattern(l)) plot2opts(lpattern(_)) yline(0) title("  ")yscale(range(-1.5 1.5)) ylabel(-1.5(0.5)1.5) noci
graph save nonvoters2, replace


combomarginsplot femalehilly2 femalehilln2, labels("Voters" "Non-Voters")xtitle("Clinton feeling thermometer")ytitle("Change in willingness to run") plot1opts(lpattern(l)) plot2opts(lpattern(_)) yline(0) title("  ")yscale(range(-1.5 1.5)) ylabel(-1.5(0.5)1.5) noci
graph save women2, replace




//change from before the election to after the inauguration
regress willrun1to3 i.female##(i.voted i.dem c.w1clintonfeelther) if attn==1

//effects based on clinton feeling 1 to 3

quietly margins, at(female=1 w1clintonfeelther=(0(10)100) voted==1)  level(90) saving(femalehilly3, replace)
quietly margins, at(female=1 w1clintonfeelther=(0(10)100) voted==0)  level(90) saving(femalehilln3, replace)
quietly margins, at(female=0 w1clintonfeelther=(0(10)100) voted==1)  level(90) saving(malehilly3, replace)
quietly margins, at(female=0 w1clintonfeelther=(0(10)100) voted==0)  level(90) saving(malehilln3, replace)


combomarginsplot femalehilly3 malehilly3, labels("Women" "Men")xtitle("Clinton feeling thermometer")ytitle("Change in willingness to run") plot1opts(lpattern(l)) plot2opts(lpattern(_)) yline(0) title("  ")yscale(range(-1.5 1.5)) ylabel(-1.5(0.5)1.5) noci
graph save voters3, replace


combomarginsplot femalehilln3 malehilln3, labels("Women" "Men")xtitle("Clinton feeling thermometer")ytitle("Change in willingness to run") plot1opts(lpattern(l)) plot2opts(lpattern(_)) yline(0) title("  ")yscale(range(-1.5 1.5)) ylabel(-1.5(0.5)1.5) noci
graph save nonvoters3, replace

combomarginsplot femalehilly3 femalehilln3, labels("Voters" "Non-Voters")xtitle("Clinton feeling thermometer")ytitle("Change in willingness to run") plot1opts(lpattern(l)) plot2opts(lpattern(_)) yline(0) title("  ")yscale(range(-1.5 1.5)) ylabel(-1.5(0.5)1.5) noci
graph save women3, replace
